﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" href="_content/_style/default.css" />

<script type="text/javascript" src="_content/_script/_js/include.js" charset="utf-8" />

<title>Magic Card Manager</title>

<script type="text/javascript">
///////////////////////////////////////////////////////////////////////////////////////////////
// OnLoad
$(document).ready(function(){
//Load the test.html file into the div with the ID[#test] or class[.test] of test.
//	$(".item").load("edition_list.html");


$.ajax({
		type: "GET",
		url: "test.xml",
		dataType: "xml",
		fail: alert("NIX");
		success: function(xml) {
			$(xml).find("cardGrid").each(function()
			{
				$("#output").append($(this).find("name").text());
				$("#output").append(": " + $(this).find("artist").text() + "<br />");
			});
		}
	});


});






</script>

</head>
<body >
<div id="test"></div>
<div class="main">
	<div class="container">
	<div class="container2">
		<div class="gfx"><a href="index.html"><span></span></a></div>
		<div class="menu">
			<a href="javascript:window.external.WB_LoadYearList()"><span>Year</span></a>
			<a href="javascript:window.external.WB_LoadEditionList()"><span>Edition</span></a>
			<a href="javascript:window.external.WB_LoadCardList()"><span>Card</span></a>		
			<a href="javascript:window.external.WB_LoadCard()" id="last"><span>Edit</span></a>
		</div>
		<div class="content">
		<div id="output" class="output"></div>

		<br />
			<div class="item">
			<!-- Container für den Hauptinhalt in dem der Hauptcontent geladen wird -->
			</div>
		</div>
		<div class="footer"></div>
	</div>	
	</div>	
</div>
</body>
</html>